.class public Lcom/brixd/niceapp/db/DaoMaster;
.super Lde/greenrobot/dao/AbstractDaoMaster;
.source "DaoMaster.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/db/DaoMaster$DevOpenHelper;,
        Lcom/brixd/niceapp/db/DaoMaster$OpenHelper;
    }
.end annotation


# static fields
.field public static final SCHEMA_VERSION:I = 0x6


# direct methods
.method public constructor <init>(Landroid/database/sqlite/SQLiteDatabase;)V
    .registers 3
    .param p1, "db"    # Landroid/database/sqlite/SQLiteDatabase;

    .prologue
    .line 64
    const/4 v0, 0x6

    invoke-direct {p0, p1, v0}, Lde/greenrobot/dao/AbstractDaoMaster;-><init>(Landroid/database/sqlite/SQLiteDatabase;I)V

    .line 65
    const-class v0, Lcom/brixd/niceapp/db/AppEntityDao;

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/db/DaoMaster;->registerDaoClass(Ljava/lang/Class;)V

    .line 66
    const-class v0, Lcom/brixd/niceapp/db/EstimateEntityDao;

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/db/DaoMaster;->registerDaoClass(Ljava/lang/Class;)V

    .line 67
    const-class v0, Lcom/brixd/niceapp/db/CommunityEstimateEntityDao;

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/db/DaoMaster;->registerDaoClass(Ljava/lang/Class;)V

    .line 68
    const-class v0, Lcom/brixd/niceapp/db/CommonEstimateEntityDao;

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/db/DaoMaster;->registerDaoClass(Ljava/lang/Class;)V

    .line 69
    const-class v0, Lcom/brixd/niceapp/db/StatisticsEntityDao;

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/db/DaoMaster;->registerDaoClass(Ljava/lang/Class;)V

    .line 70
    return-void
.end method

.method public static createAllTables(Landroid/database/sqlite/SQLiteDatabase;Z)V
    .registers 2
    .param p0, "db"    # Landroid/database/sqlite/SQLiteDatabase;
    .param p1, "ifNotExists"    # Z

    .prologue
    .line 20
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/AppEntityDao;->createTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 21
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/EstimateEntityDao;->createTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 22
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/CommunityEstimateEntityDao;->createTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 23
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/CommonEstimateEntityDao;->createTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 24
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/StatisticsEntityDao;->createTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 25
    return-void
.end method

.method public static dropAllTables(Landroid/database/sqlite/SQLiteDatabase;Z)V
    .registers 2
    .param p0, "db"    # Landroid/database/sqlite/SQLiteDatabase;
    .param p1, "ifExists"    # Z

    .prologue
    .line 29
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/AppEntityDao;->dropTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 30
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/EstimateEntityDao;->dropTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 31
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/CommunityEstimateEntityDao;->dropTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 32
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/CommonEstimateEntityDao;->dropTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 33
    invoke-static {p0, p1}, Lcom/brixd/niceapp/db/StatisticsEntityDao;->dropTable(Landroid/database/sqlite/SQLiteDatabase;Z)V

    .line 34
    return-void
.end method


# virtual methods
.method public newSession()Lcom/brixd/niceapp/db/DaoSession;
    .registers 5

    .prologue
    .line 73
    new-instance v0, Lcom/brixd/niceapp/db/DaoSession;

    iget-object v1, p0, Lcom/brixd/niceapp/db/DaoMaster;->db:Landroid/database/sqlite/SQLiteDatabase;

    sget-object v2, Lde/greenrobot/dao/identityscope/IdentityScopeType;->Session:Lde/greenrobot/dao/identityscope/IdentityScopeType;

    iget-object v3, p0, Lcom/brixd/niceapp/db/DaoMaster;->daoConfigMap:Ljava/util/Map;

    invoke-direct {v0, v1, v2, v3}, Lcom/brixd/niceapp/db/DaoSession;-><init>(Landroid/database/sqlite/SQLiteDatabase;Lde/greenrobot/dao/identityscope/IdentityScopeType;Ljava/util/Map;)V

    return-object v0
.end method

.method public newSession(Lde/greenrobot/dao/identityscope/IdentityScopeType;)Lcom/brixd/niceapp/db/DaoSession;
    .registers 5
    .param p1, "type"    # Lde/greenrobot/dao/identityscope/IdentityScopeType;

    .prologue
    .line 77
    new-instance v0, Lcom/brixd/niceapp/db/DaoSession;

    iget-object v1, p0, Lcom/brixd/niceapp/db/DaoMaster;->db:Landroid/database/sqlite/SQLiteDatabase;

    iget-object v2, p0, Lcom/brixd/niceapp/db/DaoMaster;->daoConfigMap:Ljava/util/Map;

    invoke-direct {v0, v1, p1, v2}, Lcom/brixd/niceapp/db/DaoSession;-><init>(Landroid/database/sqlite/SQLiteDatabase;Lde/greenrobot/dao/identityscope/IdentityScopeType;Ljava/util/Map;)V

    return-object v0
.end method

.method public bridge synthetic newSession()Lde/greenrobot/dao/AbstractDaoSession;
    .registers 2

    .prologue
    .line 15
    invoke-virtual {p0}, Lcom/brixd/niceapp/db/DaoMaster;->newSession()Lcom/brixd/niceapp/db/DaoSession;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic newSession(Lde/greenrobot/dao/identityscope/IdentityScopeType;)Lde/greenrobot/dao/AbstractDaoSession;
    .registers 3

    .prologue
    .line 15
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/db/DaoMaster;->newSession(Lde/greenrobot/dao/identityscope/IdentityScopeType;)Lcom/brixd/niceapp/db/DaoSession;

    move-result-object v0

    return-object v0
.end method
